const {
  miniProgram
} = wx.getAccountInfoSync()
const {
  envVersion
} = miniProgram
let env = {
  baseUrl: "http://192.168.1.177:80/"
}

switch (envVersion) {
  // 开发版
  case "develop":
    env.baseUrl = "http://192.168.1.177:48080/"
    // env.baseUrl = "https://llcs.sxndkj.net/"
    break;
    // 体验版
  case "trial":
    env.baseUrl = "https://llcs.sxndkj.net/"
    break;
    // 正式版
  case "release":
    env.baseUrl = "https://llcs.sxndkj.net/"
    break;
  default:
    env.baseUrl = "http://192.168.1.177:80/"
    break;
}
module.exports = {
  ...env
}